/*
 * SSLException.h
 *
 *  Created on: 2009-5-17
 *      Author: thh
 */

#ifndef SSLEXCEPTION_H_20090517
#define SSLEXCEPTION_H_20090517

#include <exception>

class SSLError : public std::exception {
private:
	unsigned long code;

public:
	SSLError();
	SSLError(const SSLError &other);
	virtual ~SSLError()  throw();
	virtual unsigned long errCode() const;
	virtual const char *what() const throw();

	static void Clear();
};

#endif /* SSLEXCEPTION_H_20090517 */
